package com.joint.base.bean.json;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.joint.base.entity.BusinessConfig;

public class FormEntityGsonBuilder {

  public static final GsonBuilder INSTANCE = new GsonBuilder();

  static {
    INSTANCE.disableHtmlEscaping();
    INSTANCE.registerTypeAdapter(BusinessConfig.class, new BusinessConfigGsonAdapter());

  }

  public static Gson create() {
    return INSTANCE.create();
  }

}
